.storefront-product-section {

  &:last-child {
    border-bottom: 0;
  }

  .section-title {
    font-size: 1.15em;
    // font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #22b573;
    position: relative;
    overflow: hidden;
    margin-bottom: 2em;

    span {
      display: inline-block;
      padding: 0 2em;
    }

    &:before {
      margin-left: -100%;
    }

    &:after {
      margin-right: -100%;
    }

    &:before,
    &:after {
      content: '';
      width: 100%;
      border-bottom: 2px solid #f2f2f2;
      position: absolute;
      top: 45%;
    }
  }
}

.qin-product-categories {
  margin-bottom: 2em;

  .product-category-wrap {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 1.5em 2em;
  }

  .product-category {

    list-style: none;
    margin: 0;

    & > li {
      display: block;
      float: left;
      width: 50%;

      & > a {
        color: #fff;
        display: block;
        box-sizing: border-box;
        font-weight: 600;
        padding: .45em 1em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.15em;

        &:hover {
          color: #333;
          background-color: #ccc;
        }
      }
    }
  }

  .product-group {
    height: 330px;
    background-color: rgba(0,0,0,.5);
    border-radius: 6px;
    margin-bottom: 2em;
    position: relative;

    &:before {
      border-radius: 6px;
      content: '';
      display: block;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-repeat: no-repeat;
      position: absolute;
      z-index: -1;
    }
  }

  h2 {
    color: #fff;
    background-color: rgba(255,255,255,.1);
    text-transform: uppercase;
    font-weight: 600;
    padding: .5em 0 .5em .5em;
    margin-bottom: .25em;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }

  .product-phone {
    &:before {
      background-image: url(assets/img/hl-phone-gray.jpg);
    }
  }

  .product-game {
    &:before {
      background-image: url(assets/img/hl-game.jpg);
    }
  }
}

.qin-features-wrap {
  border-bottom: 2px solid #f2f2f2;
  padding-bottom: 2em;
  margin-bottom: 3em;
}

.qin-features {
  .feature-item {
    box-sizing: border-box;
    padding-left: 3.5em;
    color: #a8a8a8;
    position: relative;
  }

  h3 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #333;
  }

  .content {
    font-size: 14px;
    margin-bottom: .5em;
  }

  .fa {
    position: absolute;
    top: .35em;
    left: 0;
    color: $color_links;
    font-size: 2em;
    width: 1.5em;
    text-align: center;
  }
}

.content-column-widget-region {
  margin-bottom: 2em;
}

.home-content-widgets {
  .block {
    box-sizing: border-box;
    padding: 1em;
    background: #f2f2f2;
    margin-bottom: 2em;
    border-radius: 6px;
    border-top: 4px solid #22b573;
  }



  .widget {
    margin-bottom: 0;

    ul {
      margin-bottom: 0;
    }

    li {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;

      a {
        color: #666;
        display: inline-block;
        margin-bottom: .25em;
        font-size: 0.875em;

        &:hover {
          color: #333;
          text-decoration: underline;
        }
      }
    }
  }

  .widget-title {
    padding-top: 0;
    font-size: 1.15em;
  }
}

.content-widget-region {
  .widget {
    border-radius: 6px;
    overflow: hidden;
  }
}


@media screen and (min-width: 768px) {
  .qin-features {
    width: 85%;
    margin: 0 auto;
  }

  .feature-item {
    width: 33%;
    float: left;
  }

  .qin-product-categories {
    .product-group {
      background-color: transparent;

      h2 {
        background-color: transparent;
      }

      &:hover {
        background-color: rgba(0,0,0,.75);

        h2 {
          background-color: rgba(255,255,255,.1);
        }

        .product-category {
          display: block;
        }
      }
    }

    .product-category {
      display: none;
    }

    .product-group {
      float: left;
      width: 48%;
      height: 330px;
      margin-right: 4%;

      &:last-child {
        margin-right: 0;
      }
    }
  }

  .home-content-widgets.col-2 {
    .block {
      width: 48%;
      margin-right: 4%;
    }

    .widget {
      ul {
        margin-right: 2em;
      }
    }
  }

  .home-content-widgets.col-3 {
    .block {
      width: 31%;
      margin-right: 3.5%;
    }
  }

  .home-content-widgets.col-4 {
    .block {
      width: 22%;
      margin-right: 4%;
    }
  }

  .home-content-widgets {
    .block {
      float: left;

      &:last-child {
        margin-right: 0;
      }
    }
  }
}
